var hShare = function(){

	this.sinaShare = function(pContet){
		Ti.include('sina.js');
		Ti.include('loading.js');
		
		if(checkNetwork()){
			loadWin.open();
			var sinaWeibo = new SinaWeiboHelper();
			var weiboID = pContet[0];
			var weiboComment = pContet[1];
			var weiboImage = pContet[2];
			var weiboUserID = pContet[3];
			loadWin.close();
			
			if(weiboUserID){
				sinaWeibo.follow(weiboUserID);
			}
			if(weiboID){
				sinaWeibo.share(weiboID, weiboComment);
			}
			if(weiboImage){
				
				if(weiboComment.length > 100){
					weiboComment = weiboComment.substring(0, 100)+"......";
				}
				//Ti.API.debug(weiboComment);
				sinaWeibo.shareImage(weiboComment, weiboImage);
				
			}
		}
		
	}


	
}

